define service {
    hostgroup_name         copr_back_aws, copr_back_dev_aws
    service_description    Disk space on Copr Backend used for build results
    check_command          check_by_nrpe!check_disk_/var/lib/copr/public_html
    use                    disktemplate
}

define service {
    hostgroup_name         copr_dist_git_aws, copr_dist_git_dev_aws
    service_description    Disk space on Copr DistGit used for imported packages
    check_command          check_by_nrpe!check_disk_/var/lib/dist-git
    use                    disktemplate
}

define service {
    hostgroup_name         copr_front_aws, copr_front_dev_aws
    service_description    Disk space on Copr Frontend used for the database
    check_command          check_by_nrpe!check_disk_/srv/copr-fe
    use                    disktemplate
}

define service {
    hostgroup_name         copr_keygen_aws, copr_keygen_dev_aws
    service_description    Disk space on Copr Keygen used for GPG keys
    check_command          check_by_nrpe!check_disk_/var/lib/copr-keygen
    use                    disktemplate
}

define service {
    hostgroup_name         copr_back_aws, copr_back_dev_aws
    service_description    The copr-ping package builds
    check_command          check_by_nrpe!check_copr_ping
    use                    defaulttemplate
}

define service {
    hostgroup_name         copr_front_aws, copr_front_dev_aws
    service_description    The copr cdn status
    check_command          check_by_nrpe!check_copr_cdn
    use                    defaulttemplate
}

define service {
    hostgroup_name        copr_dist_git_aws
    service_description   http-copr-be.aws.fedoraproject.org
    check_command         check_by_nrpe!check_copr_backend
    max_check_attempts    8
    use                   websitetemplate
}

define service {
    hostgroup_name        copr_front_aws
    service_description   http-copr-dist-git.fedorainfracloud.org
    check_command         check_by_nrpe!check_copr_distgit
    max_check_attempts    8
    use                   websitetemplate
}

define service {
    hostgroup_name        copr_back_aws
    service_description   http-copr.fedorainfracloud.org
    check_command         check_by_nrpe!check_copr_frontend
    max_check_attempts    8
    use                   websitetemplate
}
